package com.deuwise.system.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * Copyright
 *
 * @author chenwenchao
 * @date 2019/7/1
 * Description:
 */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName("sys_authorize")
public class AuthorizeDo extends Model<AuthorizeDo> implements Serializable{

    @TableId("id")
    private String id;

    @TableId("code")
    private String code;

    @TableId("create_time")
    private Date create_time;

    @Override
    protected Serializable pkVal() {
        return id;
    }
}
